#Target
TgtFile = base24

SrcFile0 = Base24

# App Source Paths
SrcDir = C:\softpay\ver30\SOURCE\BASE24

AppObjects = \
	$(OBJ_DIR)\$(SrcFile0).o  

# Compiler Options
MkIncludes = -J $(SDS_INCLUDES) -I $(ACT_INCLUDES) -I $(SP2_INCLUDES) 
COptions = $(GCOPTIONS) -c -O2 -bi -g+ -cpu ARM920T -Wrx -DK2 -DARM -o$(@)

#  Target Definition Library
$(LIB_DIR)\$(TgtFile).a : $(AppObjects)
	@$(RVCTBIN)\armar -r $(LIB_DIR)\$(TgtFile).a $(AppObjects)


$(OBJ_DIR)\$(SrcFile0).o : $(SrcDir)\$(SrcFile0).c \
		C:\softpay\ver30\SOURCE\INCLUDE\form.h\
		C:\softpay\ver30\SOURCE\INCLUDE\IIT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\format.h\
		C:\softpay\ver30\SOURCE\INCLUDE\Multilng.h\
		C:\softpay\ver30\SOURCE\INCLUDE\isodefs.h\
		C:\softpay\ver30\SOURCE\INCLUDE\msg.h\
		C:\softpay\ver30\SOURCE\INCLUDE\scalls.h\
		C:\softpay\ver30\SOURCE\INCLUDE\spamsg.h\
		C:\softpay\ver30\SOURCE\INCLUDE\transact.h\
		C:\softpay\ver30\SOURCE\INCLUDE\msgfuncs.h\
		C:\softpay\ver30\SOURCE\INCLUDE\HDT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\tblutil.h\
		C:\softpay\ver30\SOURCE\INCLUDE\ifldtbl.h\
		C:\softpay\ver30\SOURCE\INCLUDE\isoload.h\
		C:\softpay\ver30\SOURCE\INCLUDE\settlbat.h\
		C:\softpay\ver30\SOURCE\INCLUDE\packet.h\
		C:\softpay\ver30\SOURCE\INCLUDE\gds.h\
		C:\softpay\ver30\SOURCE\INCLUDE\msgclrk.h\
		C:\softpay\ver30\SOURCE\INCLUDE\ui.h\
		C:\softpay\ver30\SOURCE\INCLUDE\card.h\
		C:\softpay\ver30\SOURCE\INCLUDE\isoutl.h\
		C:\softpay\ver30\SOURCE\INCLUDE\check.h\
		C:\softpay\ver30\SOURCE\INCLUDE\list.h\
		C:\softpay\ver30\SOURCE\INCLUDE\logo.h\
		C:\softpay\ver30\SOURCE\INCLUDE\pbatch.h\
		C:\softpay\ver30\SOURCE\INCLUDE\udt.h\
		C:\softpay\ver30\SOURCE\INCLUDE\piputl.h\
		C:\softpay\ver30\SOURCE\INCLUDE\trt.h\
		C:\softpay\ver30\SOURCE\INCLUDE\report.h\
		C:\softpay\ver30\SOURCE\INCLUDE\comm.h\
		C:\softpay\ver30\SOURCE\INCLUDE\accum.h\
		C:\softpay\ver30\SOURCE\INCLUDE\MHT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\ConfProto.h\
		C:\softpay\ver30\SOURCE\INCLUDE\CPT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\validt.h\
		C:\softpay\ver30\SOURCE\INCLUDE\TCT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\date.h\
		C:\softpay\ver30\SOURCE\INCLUDE\confio.h\
		C:\softpay\ver30\SOURCE\INCLUDE\recptfrm.h\
		C:\softpay\ver30\SOURCE\INCLUDE\menufunc.h\
		C:\softpay\ver30\SOURCE\INCLUDE\passwd.h\
		C:\softpay\ver30\SOURCE\INCLUDE\CDT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\pwrfids.h\
		C:\softpay\ver30\SOURCE\INCLUDE\PCT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\funcids.h\
		C:\softpay\ver30\SOURCE\INCLUDE\ppt.h\
		C:\softpay\ver30\SOURCE\INCLUDE\funcs.h\
		C:\softpay\ver30\SOURCE\INCLUDE\batmsg.h\
		C:\softpay\ver30\SOURCE\INCLUDE\pipmsg.h\
		C:\softpay\ver30\SOURCE\INCLUDE\bmp.h\
		C:\softpay\ver30\SOURCE\INCLUDE\mdmdefs.h\
		C:\softpay\ver30\SOURCE\INCLUDE\stats.h\
		C:\softpay\ver30\SOURCE\INCLUDE\Menus.h\
		C:\softpay\ver30\SOURCE\INCLUDE\protocol.h\
		C:\softpay\ver30\SOURCE\INCLUDE\mem.h\
		C:\softpay\ver30\SOURCE\INCLUDE\cardmsg.h\
		C:\softpay\ver30\SOURCE\INCLUDE\pfr.h\
		C:\softpay\ver30\SOURCE\INCLUDE\util.h\
		C:\softpay\ver30\SOURCE\INCLUDE\Tran.h\
		C:\softpay\ver30\SOURCE\INCLUDE\pinpad.h\
		C:\softpay\ver30\SOURCE\INCLUDE\msgshf.h\
		C:\softpay\ver30\SOURCE\INCLUDE\modem.h\
		C:\softpay\ver30\SOURCE\INCLUDE\SPDebug.h\
		C:\softpay\ver30\SOURCE\INCLUDE\entry.h\
		C:\softpay\ver30\SOURCE\INCLUDE\BDT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\MIT.h\
		C:\softpay\ver30\SOURCE\INCLUDE\print.h\
		C:\softpay\ver30\SOURCE\INCLUDE\Oper.h\
		C:\softpay\ver30\SOURCE\INCLUDE\table.h\
		C:\softpay\ver30\SOURCE\INCLUDE\fields.h\
		C:\softpay\ver30\SOURCE\INCLUDE\batch.h 
	@echo COMPILING...$(SrcFile0).c
	@$(RVCTBIN)\armcc $(MkIncludes) $(COptions) $(SrcDir)\$(SrcFile0).c >errorList.txt  2>&1
	@type errorList.txt | FmtErrorArm.exe

